package strategy.b;

/**
 * 唐老鸭
 *
 * @author Mike
 *
 */
public class TangLaoYa extends Duck {

	public TangLaoYa() {
		this.flyBehavior = new FlyWithWings();
		this.quackBehavior = new Quack();
		this.speakBehavior = new SpeakInEnglish();
		this.display();
	}
	
	@Override
	void display() {
		System.out.println("I'm a tanglaoya.");
	}

}
